Overview of Commands
 
 
 

You can easily create, edit, and reuse commands. The Customize tab of the Customize User Interface (CUI) Editor allows you to add any command listed in the Command List pane to a toolbar, menu, and one of the other user interface element that can be customized.

When you change the properties of a command in the Command List pane or the tree view in the Customizations In pane, the properties of the command are changed everywhere the command is referenced. Each property of a command in the Command List pane controls which actions are taken when the command is used and how the command looks when added to a user interface element.

The following table shows the properties of the Scale command as they appear in the Properties pane.

Properties for the Scale command in the Command List pane

Properties pane item

Description

Example

Name

String displayed as a menu name or as a tooltip when you click a toolbar button. The string must include alphanumeric characters with no punctuation other than a hyphen (-) or an underscore (_).

Scale

Description

String displayed as a tooltip when the cursor hovers over a toolbar or panel button, or menu item.

Enlarges or reduces selected objects, keeping the proportions of the object the same after scaling

Extended Help File

Displays the file name and ID for the extended tooltip that is displayed when the cursor hovers over a toolbar or panel button.

 

Command Display Name

String that contains the name of the command that is related to the command.

SCALE

Macro

The command macro. It follows the standard macro syntax.

NoteWhen you change the name of a macro, the name of its corresponding menu item or toolbar button does not change. You must change a menu item or toolbar button name by selecting it in the tree view.

$M=$(if,$(eq,$(substr,$(getvar,cmdnames),

1,4),GRIP),_scale,^C^C_scale)

Tags

Keywords associated to a command. Tags provide an additional field to search for a loaded command when using the Search field in the application menu.

 

Element ID

Tag that uniquely identifies a command.

ID_Scale

Small Image

ID string of the small-image resource (16 × 16 bitmap). The string must include alphanumeric characters with no punctuation other than a hyphen (-) or an underscore (_). It can also be a user-defined bitmap. Click the [] button to open the Select Image File dialog box.

RCDATA_16_SCALE

Large Image

ID string of the large-image resource (32 × 32 bitmap). If the specified bitmap is not 32 × 32, the program scales it to that size. The string must include alphanumeric characters with no punctuation other than a hyphen (-) or an underscore (_). It can also be a user-defined bitmap. Click the [] button to open the Select Image File dialog box

RCDATA_32_SCALE

Quick Reference
Commands